package com.gzist.security4.service;

import com.gzist.security4.domain.Permission;
import com.gzist.security4.domain.Role;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Set;

/**
* @author 黄泽建
* @description 针对表【role】的数据库操作Service
* @createDate 2024-05-14 00:46:24
*/
public interface RoleService extends IService<Role> {

    List<Permission> getPermissionByRoleId(Long id);

    List<Permission> getPermissionByRoleIds(Set<Long> roleIds);
}
